/*
 * Generated by XDoclet - Do not edit!
 */
package hotel.ejb;

/**
 * CMP layer for Reserva.
 * @xdoclet-generated at ${TODAY}
 * @copyright The XDoclet Team
 * @author XDoclet
 * @version ${version}
 */
public abstract class ReservaCMP
   extends hotel.ejb.ReservaBean
   implements javax.ejb.EntityBean
{

   public void ejbLoad() throws javax.ejb.EJBException, java.rmi.RemoteException
   {
      super.ejbLoad();
   }

   public void ejbStore() throws javax.ejb.EJBException, java.rmi.RemoteException
   {
         super.ejbStore();
   }

   public void ejbActivate() throws javax.ejb.EJBException, java.rmi.RemoteException
   {
      super.ejbActivate();
   }

   public void ejbPassivate() throws javax.ejb.EJBException, java.rmi.RemoteException
   {
      super.ejbPassivate();

      ReservaValue = null;
   }

   public void setEntityContext(javax.ejb.EntityContext ctx) throws javax.ejb.EJBException, java.rmi.RemoteException
   {
      super.setEntityContext(ctx);
   }

   public void unsetEntityContext() throws javax.ejb.EJBException, java.rmi.RemoteException
   {
      super.unsetEntityContext();
   }

   public void ejbRemove() throws javax.ejb.EJBException, java.rmi.RemoteException, javax.ejb.RemoveException
   {
      super.ejbRemove();

   }

 /* Value Objects BEGIN */

   private hotel.interfaces.ReservaValue ReservaValue = null;

   public hotel.interfaces.ReservaValue getReservaValue()
   {
      ReservaValue = new hotel.interfaces.ReservaValue();
      try
         {
            ReservaValue.setID( getID() );
            ReservaValue.setDesdeData( getDesdeData() );
            ReservaValue.setFinsData( getFinsData() );

         }
         catch (Exception e)
         {
            throw new javax.ejb.EJBException(e);
         }

	  return ReservaValue;
   }

/* Value Objects END */

   public abstract java.lang.Integer getID() ;

   public abstract void setID( java.lang.Integer ID ) ;

   public abstract java.util.Date getDesdeData() ;

   public abstract void setDesdeData( java.util.Date desdeData ) ;

   public abstract java.util.Date getFinsData() ;

   public abstract void setFinsData( java.util.Date finsData ) ;

}
